<?php

namespace common\models;


use yii\db\ActiveRecord;

class CountComplaint extends ActiveRecord
{

    public static function tableName()
    {
        return 'count_complaint';
    }

    public function rules()
    {
        return [
            [['id','time','complaint_num','return_goods_num','return_money_num','other_num',
                'wait_handle_num','pass_num','fail_num','completion_num','create_time',
                'update_time'],'integer'],
            [['day'],'string']
        ];
    }

    public function attributeLabels()
    {
        return [
            'id'=>'id',
            'time'=>'时间',
            'day'=>'天',
            'complaint_num'=>'申请数量',
            'return_goods_num'=>'退货数',
            'return_money_num'=>'退款数',
            'other_num'=>'其他',
            'wait_handle_num'=>'未处理',
            'pass_num'=>'审核通过',
            'fail_num'=>'审核失败',
            'completion_num'=>'处理完成',
            'create_time'=>'创建时间',
            'update_time'=>'更新时间',
        ];
    }
}